package com.example.demo.dao;

import com.example.demo.entity.Notice;
import com.example.demo.entity.Room_Picture;
import com.example.demo.entity.Roominfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface  RoominfoDao {
 //   int insertroominfo( @Param("room_group") Roominfo room_group);//keyi
    int insertroominfo( @Param("room_group") Roominfo room_group);
    List<Roominfo> roominfolist();
    Roominfo selectroominfo(int no);
    int updateroominfo(Roominfo roominfo);
    public int deleteroominfo(  int no);
    List<Roominfo> selectroomlist(int floor_id);
    //yiduiduo1
   List<Room_Picture> selectRoom_Pictures(@Param("no")int no,@Param("floor_id")int floor_id);

   public Roominfo selectroompicturebyid(@Param("no")int no,@Param("floor_id")int floor_id);
}
